import com.sun.scenario.effect.impl.sw.java.JSWBlend_SRC_OUTPeer;

import java.util.ArrayList;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        CardList cardList=new CardList();
        List<Card> ret=cardList.buyCard();
        System.out.println("买牌:");
        System.out.println(cardList.buyCard());
        System.out.println("洗牌:");
        System.out.println(cardList.shuffle(ret));

        System.out.println("揭牌：");
        List<List<Card>> hand = cardList.getCardList(ret);
        for (int i = 0; i < hand.size(); i++) {
            System.out.println("第 "+(i+1)+" 个人的牌："+hand.get(i));
        }


    }
}
